<include file="Public/header.html" title="幽径商城" keywords="" />
<div class="row">
      <div class="col-md-10 col-md-offset-1">
		<br>
</div><!--/.row-->
 <div class="row">
			<div class="col-md-8 col-md-offset-1">
			     <div class="panel panel-success ">
                 <div class="panel-heading" id="accordion"><span class="glyphicon glyphicon-download"></span>下载验证</div>                                    
                        <div class="panel-body">
								      <p class="down">&nbsp;&nbsp;&nbsp;&nbsp;您将要下载的资料是：<{$dat.name}></p><br>
								      <form role="form" id="tiqu" class="has-error" >	
								<div class="form-group">
								      <input type="hidden" name='id' value='<{$dat.id}>'>
											<label class="down">&nbsp;&nbsp;&nbsp;&nbsp;请输入下载所需的提取码：</label>（输入正确的提取码，下方即会显示资料的下载地址！）
										 
											<br><br>
											<input name='pass' class="form-control" placeholder="请输入提取密码..."/>
										  <br>
							</div>
						</form>  
						<div align="center">
								<button onclick="check();" class="btn btn-lg btn-danger " >确 定</button>
                 </div>	
						<div align="center" >
						    <p id="aa"></p>
						</div>
                           
                      </div>	<!--panel -body-->
  	 </div>	<!--panel -default-->
  	 </div>	<!--panel -col--> 
			 
				<div class="col-md-2">
				<div class="panel panel-primary">
				<div class="panel-heading dark-overlay">在线咨询
					</div>
					<div class="panel-body"><br>	                
旺旺聊天：<a target="_blank" href="http://www.taobao.com/webww/ww.php?ver=3&touid=%E6%99%93%E6%B9%96520&siteid=cntaobao&status=1&charset=utf-8" >
          <img border="0" src="http://amos.alicdn.com/online.aw?v=2&uid=%E6%99%93%E6%B9%96520&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" />
</a>
&nbsp;&nbsp;<br><br>
微博私信：<a href="http://weibo.com/u/2399291280" target="_blank">
      <img src="__PUBLIC__/images/weibo.png"/>
</a> 
 
					</div>
				</div>
			</div>
			 
		</div><!--/.row-->
<style>
						.down{
						  font-size:20px;
						  color:red;
						}
						#aa{
						   color:red;
						  text-size:20px;
						}
						</style>
	<script type="text/javascript">
	function check(){
	$.ajax({
				cache: true,
				type: "POST",
				url:"__MODULE__/down/tiqu/",
				data:$('#tiqu').serialize(),// 你的formid
				async: false,
				dataType: 'json',
			  error: function(request) {
			 alert("Connection error !");
			    },
			    success: function(data) {
		
		     if(data['status']==1)
            {

           var textId = document.getElementById("aa");
                textId.innerHTML= "<br>-------------下载地址--------------<br><br>"+data['content'];
           }
             else
             {
             alert("提示信息: "+data['msg']);
             
             }	    
	
			    }
         
			});
	
	}

	</script>
	<div class="row">
<div class="footer">
<span>CopyRight © 2011-2015 |<a href="https://shop-dyh.rhcloud.com/"> 幽径商城</a> | All rights reserved.</span>
</div>
</div><!--/.row-->
<style>
  .footer {
 
  position:initial;
  margin-top: 10px;
  padding: 20px 0px;
  text-align: center;
  color: #000;
} 
</style>

<script src="__PUBLIC__/js/bootstrap.min.js"></script>
<include file="Public/register.html" />
</body>
</html>
